/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

$(document).ready(function() {
    
    $('#add_line_order').click(function(){
        $('#bo_build_order table').append('<tr class="list_bo_order"><td class="bo_condition"><input type="text" /></td><td class="bo_icone"></td><td class="bo_ordre"><input type="text" /></td><td class="bo_nb"><input type="text" /></td><td class="bo_switch">sw</td></tr>');
    $(document).on("blur", ".mark", verifMark);     
    });

    $('#add_line_comment').click(function(){
        $('#bo_build_order table').append('<tr class="list_bo_comment"><td class="bo_comment" colspan="4"><textarea></textarea></td><td class="bo_switch">sw</td></tr>');
        $(document).on("blur", ".mark", verifMark);     
    });

    $('.switch').click(function(){
        

    });

});